package com.catarc.unityback.entity.po;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author van
 * @date 2023/2/19 12:21
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AnimationFrame {
    private Long id;
    private String name;
    /**
     * 单模型位置帧、动画帧、组合模型帧
     */
    private Integer type;
    private Long animationId;

    /**
     * 与上一动画位置帧触发的时间间隔
     */
    private Float beforeFrameIntervalTime;
    private Long creator;
    private Long lastUpdater;
    /**
     * 排序权重
     */
    private Integer sortWeight;
    private LocalDateTime gmtCreate;
    private LocalDateTime gmtModified;
}
